package cn.luoshaocheng.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.luoshaocheng.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Shop extends BaseDomain {
    @Excel(name="店铺名称",width = 30)
    private String name;
    @Excel(name="店铺电话",width = 30)
    private String tel;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @Excel(name="注册日期",width = 30)
    private Date registerTime = new Date();
    @Excel(name="店铺状态",width = 30)
    private Integer state;
    @Excel(name="店铺地址",width = 30)
    private String address;
    @Excel(name="店铺log",width = 30)
    private String logo;
    @Excel(name="管理员编号",width = 30)
    private Long admin_id;
    private Employee admin;


}

